package com.testmanager.testmananger.shuiyou.common.dto;

import com.testmanager.testmananger.shuiyou.common.myAnnotation.MyColumn;

import lombok.Data;

import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
public class SdssPreRuleScriptDto {

    /**
     * SELECT sc.id           主规则ID,       sc.RULE_SCRIPT  主规则,       sc2.id          前置规则ID,       sc2.RULE_SCRIPT 前置规则,
     *        m.MODEL_NAME
     *   from sdssbjk_model_rule  t,       sdssbjk_rule_script sc,      sdssbjk_rule_script sc2,
     *        sdssbjk_model      m
     *  where t.RULE_ID = sc.id
     *    and t.PRE_RULE_ID = sc2.ID
     *    and t.model_id = m.model_id
     *    and sc.id = '30000000055';
     */

    private long id;

    @MyColumn(name = "RULE_SCRIPT")
    private String ruleScript;

    @MyColumn(name = "MODEL_NAME")
    private String modelName;
}
